<?php
class Table extends CoreTagWithLang {
	protected $align;
	protected $bgcolor;
	protected $border;
	protected $cellpadding;
	protected $cellspacing;
	protected $frame;
	protected $rules;
	protected $summary;
	protected $width;

	public function __construct() {
		parent::__construct("table");
		$this->align="";
		$this->bgcolor="";
		$this->border="";
		$this->cellpadding="";
		$this->cellspacing="";
		$this->frame="";
		$this->rules="";
		$this->summary="";
		$this->width="";
		$this->attributeNames=array_merge($this->attributeNames,array('align','bgcolor','border','cellpadding','cellspacing','frame','rules','summary','width'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','','','','','',''));
	}

	public function setAlign($_align) {
		$this->align=(string)$_align;
		$this->setAttribute('align',$_align);
	}
	public function getAlign() {
		return $this->align;
	}
	public function setBgcolor($_bgcolor) {
		$this->bgcolor=(string)$_bgcolor;
		$this->setAttribute('bgcolor',$_bgcolor);
	}
	public function getBgcolor() {
		return $this->bgcolor;
	}
	public function setBorder($_border) {
		$this->border=(string)$_border;
		$this->setAttribute('border',$_border);
	}
	public function getBorder() {
		return $this->border;
	}
	public function setCellpadding($_cellpadding) {
		$this->cellpadding=(string)$_cellpadding;
		$this->setAttribute('cellpadding',$_cellpadding);
	}
	public function getCellpadding() {
		return $this->cellpadding;
	}
	public function setCellspacing($_cellspacing) {
		$this->cellspacing=(string)$_cellspacing;
		$this->setAttribute('cellspacing',$_cellspacing);
	}
	public function getCellspacing() {
		return $this->cellspacing;
	}
	public function setFrame($_frame) {
		$this->frame=(string)$_frame;
		$this->setAttribute('frame',$_frame);
	}
	public function getFrame() {
		return $this->frame;
	}
	public function setRules($_rules) {
		$this->rules=(string)$_rules;
		$this->setAttribute('rules',$_rules);
	}
	public function getRules() {
		return $this->rules;
	}
	public function setSummary($_summary) {
		$this->summary=(string)$_summary;
		$this->setAttribute('summary',$_summary);
	}
	public function getSummary() {
		return $this->summary;
	}
	public function setWidth($_width) {
		$this->width=(string)$_width;
		$this->setAttribute('width',$_width);
	}
	public function getWidth() {
		return $this->width;
	}

}
?>